home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / util / libs / MMULib.lha / MMULib / Fixes / PatchRAM.readme < prev    next >
Text File  |  2001-04-07  |  6KB  |  163 lines

  1. Short:    Patch RAM to show right size, and more...
  2. Uploader: thor@einstein.math.tu-berlin.de (Thomas Richter)
  3. Author:   thor@einstein.math.tu-berlin.de (Thomas Richter)
  4. Type:     util/boot
  5. Version:  1.21
  6. Requires: OS 2.04 or better.
  7.  
  8. *** Obsolete for Os version 3.9. ***
  9.  
  10. This file patches the RAM disk to show the real size occupied - its no longer
  11. 100% full. Furthermore, it increments the stack size of the RAM task a bit,
  12. which seems to be *very tight*.
  13.  
  14. ****** IMPORTANT NOTE: DUE TO INTERNAL CHANGES, THE PROGRAM MUST NOW *********
  15. ****** RUN BEFORE THE RAM DISK IS USED. THIS IS A FUNCTIONAL         *********
  16. ****** DIFFERENCE TO FORMER VERSIONS                     *********
  17.  
  18. The feature of allocating large RAM blocks reverse has been removed and is
  19. now integrated into PoolMem - which can be found in util/boot, too.
  20. ____________________________________________________________________________
  21.  
  22. Changes made in 1.21:
  23.  
  24.     - Increased the stack size of the new RAM supervisor task by a few
  25.       bytes because it was low on stack.
  26.     - Auto-increments the stack size of the main RAM task on startup
  27.       because this used to be too low as well... )-:
  28. ____________________________________________________________________________
  29.  
  30. Changes made in 1.20:
  31.  
  32.     - Removed the reverse memory allocation feature and integrated
  33.       this in PoolMem. Removed, therefore, some command line arguments
  34.       that don't make sense anymore.
  35.  
  36. Changes made in 1.11:
  37.  
  38.     - Added command line options, see below.
  39.     - Added a different patching mechanism on request.
  40.  
  41. Changes made in 1.10:
  42.  
  43.     - Fixed a bug that actually broke the reverse memory allocation
  44.       feature. Sigh.
  45.  
  46. Changes made in 1.09:
  47.  
  48.     - PatchRAM replaces no longer the AllocVec() function completely.
  49.       Thus, the patch might be slightly (almost unnoticably) slower,
  50.       but is compatible to AROS. Thanks to Jörg Strohmeier for the
  51.       report.
  52.  
  53. Changes made in 1.08:
  54.  
  55.     - Streamlined the code a bit.
  56.     - PatchRAM can now be run anywhere in your startup sequence.
  57.       It loads the RAM disk in case it is not available.
  58.  
  59. ____________________________________________________________________________
  60.  
  61.                         The THOR-Software Licence
  62.  
  63.  
  64. This License applies to the computer programs known as "PatchRAM".
  65. The "Program", below, refers to such program.
  66.  
  67.  
  68. The programs and files in this distribution are freely distributable
  69. under the restrictions stated below, but are also Copyright (c)
  70. Thomas Richter.
  71.  
  72.  
  73. Distribution of the Program by a commercial organization without written
  74. permission from the author to any third party is prohibited if any payment
  75. is made in connection with such distribution, whether directly
  76. (as in payment for a copy of the Program) or indirectly (as in payment
  77. for some service related to the Program, or payment for some product
  78. or service that includes a copy of the Program "without charge";
  79. these are only examples, and not an exhaustive enumeration of prohibited
  80. activities). However, the following methods of distribution involving
  81. payment shall not in and of themselves be a violation of this restriction:
  82.  
  83.  
  84. (i) Posting the Program on a public access information storage and
  85. retrieval service for which a fee is received for retrieving information
  86. (such as an on-line service), provided that the fee is not
  87. content-dependent (i.e., the fee would be the same for retrieving the same
  88. volume of information consisting of random data).
  89.  
  90.  
  91.  
  92. (ii) Distributing the Program on a CD-ROM, provided that the files
  93. containing the Program are reproduced entirely and verbatim on such
  94. CD-ROM, and provided further that all information on such CD-ROM be
  95. redistributable for non-commercial purposes without charge.
  96.  
  97.  
  98.  
  99. Everything in this distribution must be kept together, in original
  100. and unmodified form.
  101.  
  102.  
  103.  
  104.  
  105. Limitations.
  106.  
  107. THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
  108. WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  109. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  110. PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
  111. RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
  112. THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  113. SERVICING, REPAIR OR CORRECTION.
  114.  
  115.  
  116.  
  117. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
  118. THIS ARCHIVE.
  119.  
  120. _____________________________________________________________________________
  121.  
  122. Synopsis:
  123.  
  124. PatchRAM    PORTPATCH/S
  125.  
  126.  
  127. PORTPATCH:    If given, use a different patching mechanism for the RAM
  128.         disk disk info bug. The "PORTPATCH" might be slightly 
  129.         faster, might cause less compatibility problems with
  130.         programs that somehow mess with the port lists and the
  131.         reply ports, but is itself not without its quirks, too.
  132.         It uses the undocumented PA_ACTION¹ type for the RAM disk
  133.         port to capture the broken dos packets. The problem is
  134.         that this message port type has never been officially
  135.         documented, but is working since the very first release
  136.         of the system, though. 
  137.         This patched port might - or should (!) - make your virus
  138.         scanner scream!
  139.  
  140. _____________________________________________________________________________
  141.  
  142. ¹ For all the picky folks: Yes, I KNOW that this type isn't called 
  143. PA_ACTION indeed, but since no official name has been assigned to this
  144. mode and it is often referred to as PA_ACTION, I keep this name for
  145. "traditional reasons".
  146. _____________________________________________________________________________
  147.  
  148. Installation:
  149.  
  150.     Add PatchRAM to your startup sequence. This program MUST NOW BE RUN
  151.     BEFORE THE RAM-DISK IS STARTED OR IT WILL FAIL. NOTE THAT THIS 
  152.     IS DIFFERENT FROM FORMER RELEASES.
  153.     A good point is here:
  154.  
  155. SetPatch        ;*** NOTE THAT THIS IS DIFFERENT FROM FORMER RELEASES
  156. PatchRAM        ;insert below this line, probably with options...
  157.  
  158.  
  159. October 1999,
  160.     Thomas
  161.  
  162.  
  163.